package com.devops.utils.error;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum ReturnResultType implements ResultType{
    OPERATOR_ERROR(10000, "操作失败"),
    MAP_ERROR(10001, "获取map失败");

    private int code;
    private String msg;

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
